package cn.com.constant;

public class Code {
    public static final Integer SUCCESS=200;    //请求成功
    public static final Integer UN_AUTHORIZED=401;  //没有权限
    public static final Integer FORBIDDEN=403;  //用户得到授权，但是访问被禁止
    public static final Integer NOT_FOUND=404;  //资源不存在
    public static final Integer SERVER_ERROR=500;   //服务器发生错误

    public static final Integer USERID_NOT_FOUND=1000;  //user authingid不存在
    public static final Integer ADMINID_NOT_FOUND=1001;
    public static final Integer SELLER_NOT_FOUND=1002;
    public static final Integer TOKEN_NOT_FOUNE=1003;
    public static final Integer ERROR_TOKEN=1004;
    public static final Integer TOKEN_EXP=1005; // 令牌过期
    public static final Integer TOKEN_INVALID_CLAIM=1005;


    public static final Integer ERRORPARM=2000; // 微信请求参数错误
    public static final Integer ERRORCODE=2001; // 微信发送预登录code错误或超时
    
    public static final Integer REFUND_FAIL=3000; // 微信退款失败
    
}
